package cn.abk.sys.service.impl;

import cn.abk.basic.service.impl.BaseServiceImpl;
import cn.abk.sys.domain.DatadicType;
import cn.abk.sys.mapper.DatadicTypeMapper;
import cn.abk.sys.service.IDatadicTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
* @Description: servics实现类
* @Author: Fill
* @Version: 1.0
* @Date:  19:33 19:33
*/

@Service
@Transactional(readOnly = true, propagation = Propagation.SUPPORTS)
public class DatadicTypeServiceImpl extends BaseServiceImpl<DatadicType> implements IDatadicTypeService {


    @Autowired
    private DatadicTypeMapper datadicTypeMapper;






    /**
    * @Title: 增加
    * @Description: 添加默认密码
    * @Author: Fill
    * @Version: 1.0
    * @Date:  19:30 19:30
    * @Parameters: [datadicType]
    * @Return void
    */
    @Override
    public void addDept(DatadicType datadicType) {
        System.err.println(datadicType);
        datadicTypeMapper.addDept(datadicType);
    }



}
